import defaultSettings from '../settings.json';

export interface GlobalState {
  settings?: typeof defaultSettings;
  userInfo?: {
    alternatePhoneNumber: string;
    createdBy: number;
    createdDt: string;
    email: string;
    icon: string;
    id: number;
    loginTime: string;
    modifiedBy: number;
    modifiedDt: string;
    nickname: string;
    number: string;
    operators: null;
    orgnization: string;
    password: string;
    phoneNumber: string;
    sex: true;
    status: number;
    type: number;
    username: string;
    wallets: [];
    permissions: Record<string, string[]>;
  };
  transactionQRoff: boolean | null;
}
